package com.distributer.policy.init;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

import com.distributer.policy.thread.PolicyRequestHandlerThreadInit;

@Component
public class StartPolicyHandlerThread implements ApplicationListener<ContextRefreshedEvent>{

	public void onApplicationEvent(ContextRefreshedEvent event) {
		PolicyRequestHandlerThreadInit.instance();
	}

}
